package org.example.sbdemo.service;


import org.example.sbdemo.DTO.UserDTO;
import org.example.sbdemo.response.Response;

import java.util.List;

public interface UserService {
    public UserDTO findById(Integer id);
    public List<UserDTO> findAll();

    public Integer addUser(UserDTO userDTO);
    //public UserDTO updateUser(UserDTO userDTO);

    public void deleteById(Integer id);

    public UserDTO update(UserDTO userDTO);

    public List<UserDTO> findAllByGenderM();
    public List<UserDTO> findAllByGenderF();


}
